package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsCategory;
import com.qf.vo.CatVo;
import com.qf.vo.CategorySellVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Zwnan
 */
public interface DtsCategoryService {
    CategorySellVo findCategorySell();

    List<CatVo> findName();

    List<CatVo> findName2(Integer value);

    IPage<DtsCategory> findPage(Integer page, Integer limit, String sort, String order);

    void create(DtsCategory dtsCategory);

    void update(DtsCategory dtsCategory);

    void delete(DtsCategory dtsCategory);

    String selectByPid(@Param("pid") String l2);
}
